package com.example.movie.ui.video

import android.content.Context
import android.util.AttributeSet
import com.dueeeke.videoplayer.controller.BaseVideoController

class VideoController : BaseVideoController {

    constructor(context: Context) : super(context)
    constructor(context: Context, attrs: AttributeSet?) : super(context, attrs)
    constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : super(
        context,
        attrs,
        defStyleAttr
    )

    override fun getLayoutId(): Int {
        return 0
    }

    override fun showNetWarning(): Boolean {
        //不显示移动网络播放警告
        return false
    }

    init {
        //显示调试信息
//        addControlComponent(DebugInfoView(context))
    }

}